package com.secret;

import com.secret.view.MainWindow;
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.image.Image;
import javafx.scene.layout.VBox;
import javafx.stage.Stage;

public class Bootstrap extends Application {
    @Override
    public void start(Stage stage) throws Exception {
        stage.setTitle("安全仓库");

        Scene scene = new Scene(new MainWindow());
        stage.setScene(scene);
        stage.setMaximized(true);

        Image image = new Image(getClass().getResourceAsStream("/icon.png"));
        stage.getIcons().add(image);

        stage.show();
    }
}
